﻿@model SoftHotel.Models.ProductoModel

@{
    ViewBag.Title = "Editar2";
}


<h2>Editar</h2>
<br />
@using (Html.BeginForm())
{
 <table id="MainContent_Table1" rules="none" style="border-color: Black; width: 900px; margin-bottom: 0px;"> 
            <tr>
		        <td style="width: 20px;"></td>
		        <td style="font-weight: bold; width: 220px;">Descripción </td>
		        <td style="width: 220px;">@Html.TextBoxFor(Model => Model.descripcion)</td>
		        <td></td> 
		        <td style="font-weight: bold; width: 220px;"> Categoría </td>
		        <td style="width: 194px;">
                    @Html.DropDownListFor(Model => Model.categoria, (SelectListItem[])ViewBag.Categorias, "Seleccione")
		        </td>
	        </tr>
            <tr>
		        <td style="width: 20px;"></td>
		        <td style="font-weight: bold;">Estado</td>
		        <td>
                    @Html.DropDownListFor(Model => Model.estado, (SelectListItem[])ViewBag.Estados, "Seleccione")
                </td>
                <td></td>
		        <td style="font-weight: bold;"></td>
		        <td></td>
	        </tr>
    </table>
    <p>
            <input type="submit" value="Guardar" name = "button" align = "center" />
            <input type="submit" value="Cancelar" name = "button" align = "center" />
    </p>
}